package com.wondersgroup.mylibrary;

import android.util.Log;

/**
 * Created by Administrator on 2016/12/27.
 */

public class Util {
    static {
        System.loadLibrary("native-lib");
    }
    public native int getAddValue(int x, int y);


    public native int multiplicative(int x, int y);


    public native void processArr(int[] arr);


    public void showValue(String value){
        Log.e("", "value = "+value);
    }

    public  static  int count = 9;
    public String key = "key";
    public native static String getStringFromC();
    public native void chineseChars(String str);
    public native String[] initStringArray(int size);
    public native void sortArrary(int[] arr);
    public native  void localRef();
    public native void createGlobalref();
    public native void delGlobalref();

    public native void createWeakRef();
    public native void exception();
    public native void cached();
    public native void gloablCached();

}
